import App from './App'

import fimg from '@/compontent/medium/fimg'; //全局图片组件

Vue.component('fimg', fimg); //全局图片组件

import publics from '@/until/public.js';
Vue.use(publics); // 使用全局组件

import share from '@/until/share.js'	
Vue.mixin(share)


// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
Vue.config.productionTip = false
App.mpType = 'app'


const app = new Vue({
  ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif
